home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form2
- BorderStyle = 3 'Fixed Dialog
- ClientHeight = 3315
- ClientLeft = 4860
- ClientTop = 2550
- ClientWidth = 1605
- ControlBox = 0 'False
- Height = 3720
- Left = 4800
- LinkTopic = "Form2"
- LockControls = -1 'True
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3315
- ScaleWidth = 1605
- ShowInTaskbar = 0 'False
- Top = 2205
- Visible = 0 'False
- Width = 1725
- Begin VB.Label Label1
- Caption = " Cancel"
- Height = 285
- Index = 10
- Left = 0
- TabIndex = 9
- Top = 2790
- Width = 1635
- End
- Begin VB.Label Label1
- Caption = " Label9"
- Height = 285
- Index = 9
- Left = 0
- TabIndex = 8
- Top = 2235
- Width = 1635
- End
- Begin VB.Label Label1
- Caption = " Label8"
- Height = 285
- Index = 8
- Left = 0
- TabIndex = 7
- Top = 1950
- Width = 1635
- End
- Begin VB.Label Label1
- Caption = " Label7"
- Height = 270
- Index = 7
- Left = 0
- TabIndex = 6
- Top = 1665
- Width = 1635
- End
- Begin VB.Label Label1
- Caption = " Label6"
- Height = 270
- Index = 6
- Left = -15
- TabIndex = 5
- Top = 1410
- Width = 1650
- End
- Begin VB.Label Label1
- Caption = " Label5"
- Height = 270
- Index = 5
- Left = -15
- TabIndex = 4
- Top = 1140
- Width = 1650
- End
- Begin VB.Label Label1
- Caption = " Label4"
- Height = 285
- Index = 4
- Left = -15
- TabIndex = 3
- Top = 855
- Width = 1650
- End
- Begin VB.Label Label1
- BackColor = &H00C0C0C0&
- Caption = " Label3"
- ForeColor = &H00000000&
- Height = 285
- Index = 3
- Left = 0
- TabIndex = 2
- Top = 570
- Width = 1635
- End
- Begin VB.Label Label1
- Caption = " Label2"
- Height = 285
- Index = 2
- Left = 0
- TabIndex = 1
- Top = 285
- Width = 1635
- End
- Begin VB.Label Label1
- Caption = " Label1"
- Height = 285
- Index = 1
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 1635
- End
- Attribute VB_Name = "Form2"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Label1_Click(Index As Integer)
- Form1.Command1.Caption = Label1(Index).Caption
- If Index = 10 Then
- Label1(10).BorderStyle = 0
- Form1.Command1.Caption = "Click Me"
- Form2.Visible = False
- End If
- End Sub
- Private Sub Label1_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
- Dim n As Integer
- For n = 1 To 10
- Label1(n).BorderStyle = 0
- Next
- Label1(Index).BorderStyle = 1
- End Sub
-